home *** CD-ROM | disk | FTP | other *** search
/ Aminet 25 / Aminet 25 (1998)(GTI - Schatztruhe)[!][Jun 1998].iso / Aminet / dev / amos / AMOS0398.lzh / AMOSLIST / 000149_amos-request@svcs1.digex.net_Sun Mar 15 19:41:37 1998.msg < prev    next >
Text File  |  1998-04-01  |  2KB  |  52 lines

  1. >From amos-request@svcs1.digex.net  Sun Mar 15 19:41:37 1998
  2. Received: from svcs1.digex.net (svcs1.digex.net [204.91.197.224])
  3.     by pony-1.mail.digex.net (8.8.8/8.8.8) with ESMTP id TAA25366
  4.     for <mcox@access.digex.net>; Sun, 15 Mar 1998 19:41:36 -0500 (EST)
  5. Received: (from daemon@localhost)
  6.     by svcs1.digex.net (8.8.5/8.8.5) id SAA14825
  7.     for amos-out; Sun, 15 Mar 1998 18:38:23 -0500 (EST)
  8. Received: from pony-1.mail.digex.net (pony-1.mail.digex.net [204.91.241.5])
  9.     by svcs1.digex.net (8.8.5/8.8.5) with ESMTP id SAA14822
  10.     for <amos-list@svcs1.digex.net>; Sun, 15 Mar 1998 18:38:22 -0500 (EST)
  11. Received: from sunny.bahnhof.se (sunny.bahnhof.se [193.44.91.1])
  12.     by pony-1.mail.digex.net (8.8.8/8.8.8) with ESMTP id SAA10656
  13.     for <amos-list@access.digex.net>; Sun, 15 Mar 1998 18:38:21 -0500 (EST)
  14. Received: from pm2-31.bahnhof.se (jonasth@pm2-31.bahnhof.se [193.44.91.159])
  15.     by sunny.bahnhof.se (8.8.8/8.8.8) with SMTP id AAA01631
  16.     for <amos-list@access.digex.net>; Mon, 16 Mar 1998 00:38:12 +0100 (MET)
  17. Date: 16 Mar 98 00:35:14 +0100
  18. From: "Jonas Thorell" <jonasth@bahnhof.se>
  19. Subject: Textfile parsing
  20. To: "AMOS-m" <amos-list@access.digex.net>
  21. Message-ID: <794.379T733T352546@bahnhof.se>
  22. MIME-Version: 1.0
  23. Content-type: text/plain; charset=us-ascii
  24. Content-transfer-encoding: 7bit
  25. X-System: Amiga 1200/030@50 Mhz, 34 Meg, 1.5 Gig HD, 28k8
  26. X-Software: Aweb, Miami, Thor
  27. X-Misc-info: Who's reading this??
  28. X-Mailer: THOR 2.5a (Amiga;TCP/IP)
  29. Status: O
  30. X-Status: 
  31.  
  32. Okay, see if someone can help me out here. What I want is to take an ordinary
  33. textfile and process in certain ways. What I need to do is to
  34.  
  35. 1. Determine how many lines of text it is in it. How?
  36. 2. Use the above value making a for-loop like
  37.  
  38. For a=1 to <the value mentioned>
  39.     grab one line of text and insert it in t$(a)
  40. next 
  41.  
  42. I've tried with input # and line input # but they seem to want to grab the whole
  43. text in one chunk.
  44.  
  45. Any help appreciated.
  46.  
  47. ---
  48. Facts are stubborn things; and whatever may be our wishes, our inclinations, or 
  49. the dictates of our passions, they cannot alter the state of facts and evidence.
  50. ---
  51. Do files get embarrassed when they get unzipped?
  52.